package com.dushiguang.findhoney;

import android.app.Application;
import android.content.Context;

/**
 * 得到全局的Context
 * Created by ex-dushiguang201 on 2015-12-15.
 */
public class MyApplication extends Application {

    private static Context context;

    @Override
    public void onCreate() {

        context = getApplicationContext();
    }

    public static Context getContext() {
        return context;
    }
}
